package com.example.base.demo.configuration;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;


/*@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface AutoConfigureBefore {
    Class<?>[] value() default {};

    String[] name() default {};
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface AutoConfigureAfter {
    Class<?>[] value() default {};

    String[] name() default {};
}*/
/**
 * @author TangDan
 * @version 1.0
 * @since 2023/3/8
 */
@AutoConfiguration
@SpringBootConfiguration
public class TestAutoConfiguration {

    // 读取配置属性类，注入相关的Bean
}